Welcome back. In this lesson,
we're going to highlight a few subtleties with functions including: that
each execution gets a fresh set of
local variables that disappear at the end of the function execution,
that functions can call other functions,
and that functions can have side effects on mutable objects.
At the end of this lesson, you should be able to, one,
avoid the use of global variables and function definitions by
creating formal parameters for all values that are needed,
and two, identify whether a function has any side effects,
Including mutations to lists and dictionaries. We'll see you at the end.